package cn.tedu.homeworkivos.base.exception;

import cn.tedu.homeworkivos.base.response.StatusCode;
import lombok.Getter;

public class ServiceException extends RuntimeException{
    @Getter
    private StatusCode code;

    public ServiceException(StatusCode code)
    {
        this.code=code;
    }
}
